package com.example.base.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 登录记录
 * </p>
 *
 * @author xiong
 * @since 2024-02-07
 */

@Data
@ApiModel(description = "登录记录")
@TableName("sys_login_record")
public class SysLoginRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type=IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Integer id;
    /**
    * 用户id
    */
    @ApiModelProperty(value = "用户id")
    private String userId;
    /**
    * 用户账号
    */
    @ApiModelProperty(value = "用户账号")
    private String username;
    /**
    * 登录时间
    */
    @ApiModelProperty(value = "登录时间")
    private Date loginTime;
    /**
    * 登录状态
    */
    @ApiModelProperty(value = "登录状态")
    private Boolean loginStatus;
    /**
    * 登录时间
    */
    @ApiModelProperty(value = "登录时间")
    private Date createtime;
    /**
     * 登录类型
     */
    @ApiModelProperty(value = "登录类型")
    private String loginType;

    /**
     * 登录备注
     */
    @ApiModelProperty(value = "登录备注")
    private String loginNote;

    /**
     * 登录ip
     */
    @ApiModelProperty(value = "登录ip")
    private String loginIp;


}
